package com.wish.controller;


import com.github.pagehelper.PageInfo;
import com.wish.dto.TCwPayOrderDto;
import com.wish.dto.TJrFactoringDetailDto;
import com.wish.entity.TCwPayOrder;
import com.wish.entity.TJrFactoringDetail;
import com.wish.service.ITCwPayOrderService;
import com.wish.vo.ResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 支付订单表（支付流水信息） 前端控制器
 * </p>
 *
 * @author 五组
 * @since 2021-04-09
 */
@RestController
@RequestMapping("/wish/t-cw-pay-order")
public class TCwPayOrderController {

    @Autowired
    ITCwPayOrderService itCwPayOrderService;

    //列表查询
    @RequestMapping("list")
    public ResultEntity list(TCwPayOrderDto tCwPayOrderDto){

        PageInfo<TCwPayOrder> list = itCwPayOrderService.getlist(tCwPayOrderDto);

        return ResultEntity.ok("200","成功",list);
    }

}
